package com.yinet.system.mapper;

import com.yinet.system.domain.TouchScreenGuidance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单表 数据层
 *
 * @author ruoyi
 */
public interface TouchScreenGuidanceMapper {
    public List<TouchScreenGuidance> selectGuidanceList();

    public TouchScreenGuidance selectGuidanceById(Long id);

    public int updateGuidance(@Param("touchScreenGuidance") TouchScreenGuidance guidance);

    public int insertGuidance(@Param("touchScreenGuidance") TouchScreenGuidance guidance);

    public int selectCountGuidanceByParentId(@Param("parentId") Long parentId);

    public int deleteGuidanceById(@Param("guidanceId") Long guidanceId);

    public List<TouchScreenGuidance> selectParentGuidanceList();

    public TouchScreenGuidance selectGuidanceByName(@Param("guidanceName") String Name);

    public List<TouchScreenGuidance> selectGuidanceByParentId(@Param("parentId") Long parentId);

    public List<TouchScreenGuidance> selectGuidanceNotParentId(@Param("parentId") Long parentId);
}
